<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>

<c:set var="BASE" value="${pageContext.request.contextPath}"/>

<f:setBundle basename="i18n.i18n_${system_language}"/>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><f:message key="common.title"/> - <f:message key="welcome"/></title>
    <link rel="stylesheet" href="${BASE}/www/lib/boostrap/3.1.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="${BASE}/www/css/global.css">
</head>
<body>

<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="${BASE}/welcome"><f:message key="common.title"/></a>
        </div>
        <div class="collapse navbar-collapse" id="navbar">
            <ul class="nav navbar-nav">
                <li><a href="#"><f:message key="menu.menu1"/></a></li>
                <li><a href="#"><f:message key="menu.menu2"/></a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" href="" data-toggle="dropdown"><f:message key="common.setting"/> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="#"><f:message key="common.edit_profile"/></a></li>
                        <li><a href="#"><f:message key="common.change_password"/></a></li>
                    </ul>
                </li>
                <li><a href="#" id="logout"><f:message key="common.logout"/></a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="jumbotron" style="margin-top: -20px;">
    <div class="container">
        <h1><f:message key="welcome.word"/></h1>
    </div>
</div>

<nav class="navbar navbar-default navbar-fixed-bottom">
    <div class="container">
        <div class="navbar-text"><f:message key="common.copyright"/></div>
        <div class="navbar-text navbar-right" id="language">
            <span><f:message key="common.language"/>:</span>
            <a href="#" data-value="zh_CN">中文</a>
            <span>|</span>
            <a href="#" data-value="en_US">English</a>
        </div>
    </div>
</nav>

<script src="${BASE}/www/js/libs/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${BASE}/www/lib/jquery-form/3.46.0/jquery.form.min.js"></script>
<script type="text/javascript" src="${BASE}/www/lib/jquery-cookie/1.4.0/jquery.cookie.min.js"></script>
<script type="text/javascript" src="${BASE}/www/lib/boostrap/3.1.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${BASE}/www/js/global.js"></script>
<script type="text/javascript" src="${BASE}/www/i18n/i18n_${system_language}.js"></script>

<!--[if lt IE 9]>
<script src="${BASE}/www/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="${BASE}/www/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<script type="text/javascript">
    BASE = '${BASE}';
</script>

</body>
</html>